package com.qf.base.service;

import com.qf.base.domain.BaseDriver;

import java.util.List;

public interface IBaseDriverService {
    List<BaseDriver> selectDriverList(BaseDriver driver);

    int insertDriver(BaseDriver driver);

    int updateDriver(BaseDriver driver);

    BaseDriver selectDriverById(Long driverId);

    int deleteDriverByIds(Long[] ids);

    // 新增：同步更新承运商车辆数量
    void syncCarrierDriverCount(Long carrierId);

    List<BaseDriver> getDriversByCarrierId(Long carrierId);
}
